package com.lqian.pojo;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("用户实体")
public class User {
    //用户id
    @ApiModelProperty(value = "用户id",required = true)
    private Integer uid;

    //用户姓名
    @ApiModelProperty(value = "用户昵称",required=true)
    private String name;

    // 用户昵称
    @ApiModelProperty(value = "用户昵称",required=true)
    private String nickname;
    // 用户密码
    @ApiModelProperty(value = "用户密码",required=true)
    private String password;
    // 用户头像
    @ApiModelProperty(value = "用户头像",required=true)
    private String avatar;
    // 用户地址
    @ApiModelProperty(value = "用户地址",required=true)
    private String address;
}
